﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;

namespace Jianshu_Research_Tools
{
    class Attribute
    {
        [AttributeUsage(AttributeTargets.Class 
            |AttributeTargets.Constructor 
            |AttributeTargets.Field 
            |AttributeTargets.Method 
            |AttributeTargets.Property,AllowMultiple = true)]

        public class MayNullAbleAttribute : System.Attribute
        {
            public MayNullAbleAttribute(string Fn)
            {
                Console.WriteLine($"当前参数{Fn}可能为Null，已经为您初始化为Empty，请注意使用。");
            }
        }
    }
}
